package com.steve.xxljob;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * @Author: STEVE
 * @Description: 定时任务
 * @since: 2025-07-15
 */
@Component
public class TestTask {

    public static int i = 0;

    @XxlJob(value = "test")
    public void test() {
        System.out.println("定时任务：" + (i++));
    }

}
